Static class: provides constant and static methods for trigonometric functions, logarithm functions, and other general mathematical functions.
Math. Abs (); returns the absolute value of the specified number, decimal double int16 int32 int64 single
First, the Math object Overview:The purpose of the math (arithmetic) object is to: perform common arithmetic tasks. Save mathematical formulas and information.The Math object provides a much faster execution of the computational functionality than
Recently the project is very busy, the function that gives me is more complex, fortunately can cope with down. In the process of working, I found that the use of MySQL's own function can greatly reduce the complexity of the program. This is
First, mathematical functionsMathematical functions are mainly used for processing numbers, including integers, floating-point numbers, and so on.ABS (x)Returns the absolute value of XSELECT ABS (-1)--return 1Ceil (x), CEILING (x)Returns the
There are a number of mysql functions, here are just a few of the commonly used functions. Math function abs (x) &NBSP ; //returns the absolute value of x Bin (x) //returns the binary of X (Oct returns octal,
1. Create an employee table (and indicate that the character set is UTF8)Drop table if exists employee;CREATE TABLE Employee (ID int,Name varchar (20),Gender varchar (6),Birthday date,Entry_date date,Job varchar (30),Salary float (5,1),Resume text);2
DatabaseI. Database Overview (! Master)1. Database: Warehouse where data is stored (understanding)Hierarchical database, network-based database, relational databaseInstallation and configuration of 2.MYSQL databaseThe installed path does not have
Name
Description
ABS (decimal)
Returns the absolute value of a decimal number.
ABS (double)
Returns the absolute value of a double-precision floating point number.
ABS (int16)
Returns the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.